package com.captjack.netty.performancetest;

import java.util.UUID;

/**
 * Description description.....
 *
 * @author Jack Sparrow
 * @version 1.0.0
 * @date 14/08/2018 14:13
 * package com.captjack.netty.performancetest
 */
public class Test {

    public static void main(String[] args) {
        PerformanceExecute performanceExecute = (PerformanceExecute) new PerformanceInvokeHandler().proxy((PerformanceExecute) objects -> {
            try {
                for (int i = 0; i < 1; i++) {
                    System.out.println(UUID.randomUUID().toString());
                }
            } catch (Exception e) {
                e.printStackTrace();
            }
        });
        performanceExecute.execute();
    }

}
